﻿using Ledict.ConditionExtract.DAL;
using Ledict.ConditionExtract.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class SYS_CaseCauseSimilarBLL
    {
        SYS_CaseCauseSimilarDAL scsdal = new SYS_CaseCauseSimilarDAL();

        /// <summary>
        ///  增加相似违法行为数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool AddCaseCauseSimilar(SYS_CaseCauseSimilar model)
        {
            return scsdal.AddCaseCauseSimilar(model);
        }


        /// <summary>
        ///  删除相似违法行为数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool DelCaseCauseSimilar(string ccsId)
        {
            return scsdal.DelCaseCauseSimilar(ccsId);
        }

        /// <summary>
        ///  修改相似违法行为数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool UpdateCaseCauseSimilar(string ccsId, string ccsState)
        {
            return scsdal.UpdateCaseCauseSimilar(ccsId, ccsState);
        }
    }
}
